import Vue from "vue"; //引入vue工具包
import App from "./App"; //项目主页面
import router from "./router"; //引入路由配置，此处为页面跳转的核心部分
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import "@/styles/index.scss";
import "./icons"; //引入自定义的矢量图
import "./permission"; //引入vue-router导航守卫
import store from "./store";
import initAxios from "./axios";

Vue.config.productionTip = false; //阻止启动生产消息
Vue.use(ElementUI);
initAxios.initAxios(Vue);
Vue.config.productionTip = false;

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount("#app");
